<?php

namespace App\Models\CarModels;

use Illuminate\Database\Eloquent\Model;

class CarKind extends Model
{
    //
    protected $table = 'carkinds';
    protected $fillable = ['name'];

    function components()
    {
        return $this->hasMany(CarComponent::class,'kind_id')->with('info');
    }

}
